MailjetPlugin\Includes\MailjetApi D

Total Complexity 132
Dependencies 4
Dependents 12
Total lines 642
Lines of code 506
Logical lines of code 314
Comment lines 37
Methods 25
Properties 1

Methods 25

Method Rating Maintainability Complexity Lines of code
getApiClient()
A
49 12 25
checkContactSubscribedToList()
A
49 11 29
getSubscribersFromList()
A
48 7 34
getProfileName()
S
54 7 20
isContactListActive()
S
52 6 25
createMailjetSegment()
S
52 6 25
getContactListByID()
S
54 6 22
createTemplate()
S
54 6 21
createMailjetContactProperty()
S
52 5 25
syncMailjetContact()
S
52 5 24
getTemplateDetails()
S
57 5 17
getTemplateByName()
S
56 5 17
createTemplateContent()
S
58 5 16
getPropertyIdByName()
S
60 5 14
getContactProperties()
S
55 4 21
getMailjetSenders()
S
55 4 21
getMailjetContactLists()
S
55 4 21
syncMailjetContacts()
S
54 4 21
isValidAPICredentials()
S
55 4 20
createMailjetContactList()
S
56 4 19
getMailjetSegments()
S
58 4 17
isContactInList()
S
57 4 16
sendEmail()
S
58 4 16
getContactDataByEmail()
S
61 4 12
updateContactData()
S
66 1 8